const getters = {
  sidebar: state => state.app.sidebar,
  tabList: state => state.app.tabList,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  isSuper: state => state.user.isSuper,
  role: state => state.user.roles,
  username:state =>state.user.username,
  roleName:state =>state.user.roleName,
  routers: state => state.permission.routes,
  refreshPage: state => state.permission.refreshPage,
  tabList: state => state.app.tabList
}
export default getters
